package com.question.service;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.TablePage;
import com.question.entity.Blank;

public interface IBlankService {
	public void saveOne(Blank blank);
	public List<Blank> findAll();
	public TablePage<Blank> findPage(Specification<Blank> spec,Pageable pageable);
	public void saveOrUpdate(Blank blank);
	public boolean isUsed(Long id);
	public void delete(Long id);
	public Blank findOne(Long id);
	public boolean isNumExist(Blank blank);
	public boolean isUsing(Long id);
}
